package com.tjetc.service;

import com.tjetc.domain.Alternate;
import com.tjetc.vo.RankDTO;
import com.tjetc.vo.Result;

public interface AlternateService{


    int deleteByPrimaryKey(Integer id);

    int insert(Alternate record);

    int insertSelective(Alternate record);

    Alternate selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Alternate record);

    int updateByPrimaryKey(Alternate record);

    Result addAlternate(RankDTO rankDTO);

    Result getAlternateInfo(Integer id);

    Result cancelAlternate(Integer id);
}
